	<table class="box-table-a">
	<thead>
	<tr>
	<th scope='col' style='width:70%'>Number of missing items</th>
	<th scope='col'>Action</th>
	</tr>
	</thead>
	<tbody>
	<tr>
	<td>
	<?php
	echo $missingitems;
	?>
	</td>
	<td>
	<?php
	if ($missingitems>0)
	{
		echo '<button id="inject" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false"><span class="ui-button-text">Insert new items</span></button>';
			$this->Js->get("#inject");
			$this->Js->event('click',
			$this->Js->request(
			array('controller' => 'updater','action'=>'injectItems'),
			array(
			'type'=>'json',
			'method'=>'post',
			'update' => '#tableItems',
			'data'=> '""',
			'dataExpression' => false,
			'error'=>'alert("An unexpected error has occurred!");'							
			)));
	}
	?>
	</td>
	</tr>
	</tbody>
	</table>
		
<?php echo $this->Js->writeBuffer(); ?>